<div class="mobile">
	<div class="selectCon">
		<div>
			<div>
				<select ng-options="unit.id as unit.showname for unit in unitList" ng-model="form.fk_unit" ng-change="findGrade()">
					<option value="">==请选择校校区==</option>
				</select>
				<i class="iconfont icon-arrow-right-cir"></i>
			</div>
			<div>
				<select  ng-options="grade.id as grade.name for grade in gradeList" ng-model="form.fk_grade" ng-change="findClass()">
				  <option value="">==请选择年级==</option>
				</select>
				<i class="iconfont icon-arrow-right-cir"></i>
			</div>
		</div>
		<div>
			<input ng-model="form.major" type="text" placeholder="专业" ng-change="select()"/>
		</div>
		<div>
			<select  ng-options="class.id as class.name for class in classList" ng-model="form.fk_class" ng-change="select()">
				<option value="">==请选择班级==</option>
			</select>
			<i class="iconfont icon-arrow-right-cir"></i>
		</div>
	</div>
	<div class="tableCon">
		<div ng-repeat="row in rows" ng-click="detail(row.id)">
			<p><strong>{{row.class_name}}</strong></p>
			<p><span ng-if="row.principal_teacher!=null">正班主任：{{row.principal_teacher}}</span><span ng-if="row.subordinate_teacher!=null">副班主任：{{row.subordinate_teacher}}</span></p>
			<p><span>创建人：{{row.creater}}</span><span>创建时间：{{row.create_time}}</span></p>
		</div>
	</div>
	<div class="pageCon">
		<div ng-show="form.find">
           <img src="assets/img/loading.gif"/><span>正在加载</span>
        </div>
        <div ng-show="form.empty">
            <span>- -  -查询无记录- -  -</span>
        </div>
	</div>
	<button ng-click="goback()" type="button" class="button"><i class="iconfont icon-back"></i>&nbsp;返回</button>
</div>

